xen/dts: Provide an helper to get a DT node from a path provided by a guest
authorJulien Grall <julien.grall@linaro.org>
Tue, 28 Apr 2015 14:32:30 +0000 (15:32 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 8 May 2015 14:41:58 +0000 (15:41 +0100)
commit9873164ae10588410a68bb8d735f3752927dc49a
tree46d0b92c994a25326364cebabeb149690f7b047a
parent6ea9f0481eecc5ac4810be200e5f69d26c3af374
xen/dts: Provide an helper to get a DT node from a path provided by a guest

The maximum size of the copied string has been chosen based on the value
use by XSM in similar case.

Furthermore, Linux seems to allow path up to 4096 characters. Though
this could vary from one OS to another.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/common/device_tree.c
xen/include/xen/device_tree.h